https://relax-and-recover.org/download/
$ sudo dpkg -i rear_X.X-X_xxxXX.deb
$ sudo rear
$ sudo nano /etc/rear/local.conf
Sample content:
# In what form the backups should be stored
OUTPUT=ISO
# Backup Filesystem backend (Should normally be NETFS)
BACKUP=NETFS
# Location where the backups should be stored
BACKUP_URL="file:///mnt/backup/rear-backups"
# Add a GRUB entry for the backup
GRUB_RESCUE=1
# Add a password to the backup GRUB entry
GRUB_RESCUE_PASSWORD="Celestia"
sudo rear -v mkbackup
"Relax-and-Recover"
root
$ mount /dev/sdb1 /mnt/backup
$ rear recover
sudo apt install clonezilla
sudo apt install bc
sudo clonezilla